home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14504 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  917 b 

  1. Path: nntp1.best.com!usenet
  2. From: javaprog@best.com (John Lockwood)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help needed
  5. Date: Sun, 31 Mar 1996 06:15:36 GMT
  6. Organization: Best Internet Communications
  7. Message-ID: <4jl7um$kfg@nntp1.best.com>
  8. References: <4jkvqg$k3m@news1.mtholyoke.edu>
  9. NNTP-Posting-Host: javaprog.vip.best.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. ssubrama@mtholyoke.edu (Sowmya Subramanian) wrote:
  13.  
  14. > Or, do I have to 
  15. >explicitly use some mechanism (such as use pointers) that will go and 
  16. >delete an object, and then reallocated that free space or do some kind of 
  17. >compaction?  I hope my question is clear... if not, please ask me.  
  18.  
  19. I believe you need to do that, using either a temporary file (in
  20. Windows "GetTempFilename" can help) or, if the file is small enough,
  21. read it into memory and rewrite it.  
  22.  
  23.  
  24.  
  25. Regards,
  26.  
  27.  
  28.  
  29. John Lockwood
  30. john@wwg.com
  31. javaprog@best.com
  32. http://www.best.com/~javaprog
  33.  
  34.